const houseTypeMap = new Map().set(1, '租用').set(2, '自建').set(999, '其他')

const app = new Vue({
    el: '#app',
    data: {
        formData: {},
    },
    methods: {
        houseTypeFormat(val) {
            return houseTypeMap.get(parseInt(val));
        },
    },
    mounted: function () {
        console.log(forward.getData())
        this.formData = forward.getData();
    },
})